//
//  NASearchBar.h
//  NewApp
//
//  Created by  on 12-7-8.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol NASearchBarDelegate <NSObject>

/**
 *  Search button did pressed
 */
- (void) searchButtonDidPressed;

@end

@interface NASearchBar : UIView<UITextFieldDelegate> {
    UITextField     *keywordTextfield;
    UIButton        *searchButton;

    id<NASearchBarDelegate> delegate;
}

@property (nonatomic, retain) UITextField   *keywordTextfield;
@property (nonatomic, retain) UIButton      *searchButton;
@property (nonatomic, assign) id            delegate;

@end
